home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-11 | 891 b | 27 lines | [TEXT/GEOL] |
- Item 5842629 11-Oct-89 16:29
-
- From: ROSENSTEIN1 Rosenstein, Larry
-
- To: D1282 Power Up,PRT
-
- cc: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Undoable lists
-
- I think the basic approach is correct. This is the filtering technique of
- handling commands, in which you don't changethe actual data structure until the
- command is committed.
-
- As far as the implementation goes, if you add a field to each element of the
- list, then you really don't need to make a subclass of TList. Your command
- object would simply sequence through the list and adjust the item states and/or
- remove items as necessary. Also, when displaying the data in the list, you
- have to examine the state of each item to see if it has been deleted.
-
- Larry Rosenstein
-
- P.S. Why would this be trivial in Eiffel?
-
-
-
-